package cn.stylefeng.guns.modular.feedback.service;

import cn.stylefeng.guns.modular.User.entity.User;
import cn.stylefeng.guns.modular.User.param.UserParam;
import cn.stylefeng.guns.modular.feedback.entity.UserFeedback;
import cn.stylefeng.guns.modular.feedback.param.UserFeedbackParam;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface UserFeedbackService extends IService<UserFeedback> {

    // 添加
    List<UserFeedback> list(UserFeedbackParam userFeedbackParam);

    // 添加
    void add(UserFeedbackParam userFeedbackParam);

    // 删除
    void delete(UserFeedbackParam userFeedbackParam);

    // 编辑
    void edit(UserFeedbackParam userFeedbackParam);

    // 提取关键词
    void extractKey(int pid,String opinion);

    // 查找top10
    List<String> lookTopTen();


}
